From: Ludovic CHEVALIER Date: Wed, 10 Jul 2013 13:48:40 +0000 (+0200) Subject: [SCRIPTS] ~maj.sh : plus d'erreur pour une premiere installation X-Git-Tag: v3.3.0~134 X-Git-Url: http://git.cyclocoop.org/data/%27%20.%20mediabox_timestamp%28find_in_path%28%27javascript/%7B%24www_url%7Dadmin/compta/operations/%40%20%27info_etape_suivante_2%27%20=%3E%20%27You%20can%20move%20on%20to%20the%20next%20step.%27%2C%20%27info_exceptions_proxy%27%20=%3E%20%27Exceptions%20for%20the%20proxy%27%2C%20%27info_exportation_base%27%20=%3E%20%27export%20database%20to%20%40archive%40%27%2C-%27info_facilite_suivi_activite%27%20=%3E%20%27To%20simplify%20monitoring%20of%20the%20site/%27s%20editorial;-%20%20activities%2C%20SPIP%20can%20send%20rmail%20notifications%2C%20e.g.%20to%20an%20editors/%7B%24www_url%7D%7B%24page.uri%7Cescape%7D?a=commitdiff_plain;h=131f0858d49d59206c50b061fbac098a1d3228fe;p=lhc%2Fweb%2Fwww.git [SCRIPTS] ~maj.sh : plus d'erreur pour une premiere installation --- diff --git a/scripts/maj.sh b/scripts/maj.sh index ee9e51e5..e13d3019 100755 --- a/scripts/maj.sh +++ b/scripts/maj.sh @@ -80,7 +80,11 @@ cmd rsync -a --delete \ "$NEW_SPIP_DIR/" \ "$CUR_SPIP_DIR/" -chmod 777 "$CUR_SPIP_DIR/IMG" -chmod 777 "$CUR_SPIP_DIR/config" -chmod 777 "$CUR_SPIP_DIR/local" -chmod 777 "$CUR_SPIP_DIR/tmp" +for SPECIAL_DIR in\ + IMG\ + config\ + local\ + tmp +do + install -d -m 777 "$CUR_SPIP_DIR/$SPECIAL_DIR" +done